﻿using SnakeGame.Lesson3;
using System;

namespace SnakeGame.Lesson4
{
    internal class Wall : GameObject
    {
        public Wall(int x, int y)
        {
            position = new Position(x, y);
        }

        public override void Draw()
        {
            Console.SetCursorPosition(position.x, position.y);
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.Write("■");
        }
    }
}
